package com.yantong.pay.yfz.domain.cust.domain.business.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: gewencai@epaylinks.cn
 * @Date: 2019/5/5 11:51
 * @Description 商户费率业务
 * @Version 1.0
 */
public class MerchantBusinessBase {
    //业务代码[代码参考接口文档业务代码描述]
    private String businessCode;

    //保底手续费[默认无保底手续费]
    private Long feeMin = null;

    //封顶手续费[默认上不封顶]
    private Long feeMax = null;

    List<MerchantBusinessStage> stage = new ArrayList<>();

    //允许退款[0：不允许；1：允许；默认1]
    private Short refundEnabled = Short.valueOf("1");

    //退款手续费比率[默认0]
    private Long refundFeeRate = 0L;

    //单笔退款手续费[默认0]
    private Long refundFeePer = 0L;

    //是否允许信用卡支付  0：禁止信用卡支付，1：允许信用卡支付[默认0]
    private Short creditcardsEnabled = Short.valueOf("0");

    //最大单笔交易金额[默认不限]
    private Long maxTxsAmount = null;

    //最小单笔交易金额[默认不限]
    private Long minTxsAmount = null;

    List<MerchantBusinessBankStage> bankStage = new ArrayList<>();//银行类型业务

    public List<MerchantBusinessBankStage> getBankStage() {
        return bankStage;
    }

    public void setBankStage(List<MerchantBusinessBankStage> bankStage) {
        this.bankStage = bankStage;
    }

    public String getBusinessCode() {
        return businessCode;
    }

    public void setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
    }

    public Long getFeeMin() {
        return feeMin;
    }

    public void setFeeMin(Long feeMin) {
        this.feeMin = feeMin;
    }

    public Long getFeeMax() {
        return feeMax;
    }

    public void setFeeMax(Long feeMax) {
        this.feeMax = feeMax;
    }

    public List<MerchantBusinessStage> getStage() {
        return stage;
    }

    public void setStage(List<MerchantBusinessStage> stage) {
        this.stage = stage;
    }

    public Short getRefundEnabled() {
        return refundEnabled;
    }

    public void setRefundEnabled(Short refundEnabled) {
        this.refundEnabled = refundEnabled;
    }

    public Long getRefundFeeRate() {
        return refundFeeRate;
    }

    public void setRefundFeeRate(Long refundFeeRate) {
        this.refundFeeRate = refundFeeRate;
    }

    public Long getRefundFeePer() {
        return refundFeePer;
    }

    public void setRefundFeePer(Long refundFeePer) {
        this.refundFeePer = refundFeePer;
    }

    public Short getCreditcardsEnabled() {
        return creditcardsEnabled;
    }

    public void setCreditcardsEnabled(Short creditcardsEnabled) {
        this.creditcardsEnabled = creditcardsEnabled;
    }

    public Long getMaxTxsAmount() {
        return maxTxsAmount;
    }

    public void setMaxTxsAmount(Long maxTxsAmount) {
        this.maxTxsAmount = maxTxsAmount;
    }

    public Long getMinTxsAmount() {
        return minTxsAmount;
    }

    public void setMinTxsAmount(Long minTxsAmount) {
        this.minTxsAmount = minTxsAmount;
    }
}
